﻿<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                xmlns:x="http://schemas.microsoft.com/xps/2005/06/resourcedictionary-key">

  <xsl:template name="formatDate">
    <xsl:param name="dateTime" />
    <xsl:variable name="date" select="substring-before($dateTime, 'T')" />
    <xsl:variable name="year" select="substring-before($date, '-')" />
    <xsl:variable name="month" select="substring-before(substring-after($date, '-'), '-')" />
    <xsl:variable name="day" select="substring-after(substring-after($date, '-'), '-')" />
    <xsl:value-of select="concat($day, '.', $month, '.', $year)" />
  </xsl:template>

  <xsl:decimal-format name="numberFormat" decimal-separator="," grouping-separator="."/>

  <xsl:variable name="moneyN" select="'###.##0,00'" />
  <xsl:variable name="decimalN" select="'0,00'" />
  <xsl:variable name="decimalN1" select="'0,0'" />

  <xsl:variable name="_PLANNED" select="'PLANEJADO'" />
  <xsl:variable name="_WORKING_ON" select="'EM ANDAMENTO'" />
  <xsl:variable name="_DONE" select="'FEITO'" />
  <xsl:variable name="_CANCELED" select="'CANCELADO'" />

  <xsl:variable name="_PROJECT_SCHEDULE" select="'CRONOGRAMA DO PROJETO'" />
  <xsl:variable name="_DELIVERED_ITEMS" select="'ITENS ENTREGUES'" />
  <xsl:variable name="_Items_started_at" select="'Itens entregues em '" />
  <xsl:variable name="_SCHEDULED_ITEMS" select="'ITENS PLANEJADOS'" />
  <xsl:variable name="_Items_planned_to_start_at" select="'Itens planejados para iniciar em '" />

  <xsl:variable name="_NONE" select="'NENHUMA'" />
  <xsl:variable name="_LOW" select="'BAIXO'" />
  <xsl:variable name="_MEDIUM" select="'MÉDIO'" />
  <xsl:variable name="_HIGH" select="'ALTO'" />

  <xsl:variable name="_REVIEW" select="'REVISÃO'" />
  <xsl:variable name="_PROJECT_BURNDOWN" select="'BURNDOWN DO PROJETO'" />
  <xsl:variable name="_Project_scheduled_to" select="'Projeto planejado para:'" />
  <xsl:variable name="_RISKS" select="'RISCOS'" />
  <xsl:variable name="_Prob" select="'Prob.'" />
  <xsl:variable name="_Impact" select="'Impacto'" />
  <xsl:variable name="_Risk" select="'Riscos'" />
  <xsl:variable name="_No_risks_were_identified" select="'Nenhum risco identificado.'" />
  <xsl:variable name="_PREVIOUS_ITEMS" select="'ITENS ANTERIORES'" />
  <xsl:variable name="_NEXT_SPRINT_ITEMS" select="'ITENS DA PRÓXIMA SPRINT'" />

  <xsl:variable name="_PROJECT_DESCRIPTION" select="'DESCRIÇÃO DO PROJETO'" />
  <xsl:variable name="_TECHNOLOGY_and_PLATFORM" select="'TECNOLOGIA E PLATAFORMA'" />
  <xsl:variable name="_SCOPE" select="'ESCOPO'" />
  <xsl:variable name="_PRICE" select="'PREÇO'" />
  <xsl:variable name="_PRICE_Hour_Value" select="'PREÇO - Valor hora'" />
  <xsl:variable name="_DEADLINE" select="'PRAZO'" />
  <xsl:variable name="_STAKEHOLDERS" select="'ENVOLVIDOS'" />
  <xsl:variable name="_CLAUSES" select="'CLAUSULAS e PREMISSAS'" />

  <xsl:variable name="_Total_Price" select="'Preço total'" />
  <xsl:variable name="_Discount" select="'Desconto'" />
  <xsl:variable name="_Scope_Price" select="'Preço do escopo'" />
  <xsl:variable name="_Estimated_End_Date" select="'Data final planejada'" />
  <xsl:variable name="_Estimated_Start_Date" select="'Data inicial planejada'" />
  <xsl:variable name="_Proposal_Work_Days_Count" select="'Dias úteis'" />
  <xsl:variable name="_days" select="'dias'" />

  <xsl:variable name="_Item" select="'Item'" />
  <xsl:variable name="_Cost" select="'Custo'" />




</xsl:stylesheet>
